package com.right.near.common.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * RestTemplate配置
 *
 * @author: Star.zhu
 * @date: 2022/7/21
 */
@Configuration
public class RestTemplateConfig {

    @Bean
    public RestTemplate createRestTemplate(){
        return new RestTemplate();
    }

}
